<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    html,body {
      /* font-size: 10px; */
      font-size: 1vw;
    }
    * {
      margin: 0;
      padding: 0;
      
    }
    .box {
      width: 100vw;
      height: 100vh;
      background: orange;
    }
    .top {
      width: 5.2vw;
      height: 9.26vh;
      background: red;
      margin-left: 2.6vw;
      font-size: 1.2rem;
    }
    .bottom {
      width: 5.2vw;
      height: 9.26vh;
      background: skyblue;
      margin-left: 2.6vw;
      margin-top: 9.26vh;
      font-size: 1.4rem;
    }
  </style>
</head>
<body>
  <!-- 
    vw | vh: 新增单位 -> 兼容ie8以上
    top 100px 100px  
    bottom 100px 100px 

    1920:1080  设计稿
    1902/100份 =19.2 
    一个vw占 19.2px
    100px/19.2px = 5.2个vw

    1080/100份 = 10.8px 
    一个vh占10.8px
    100px / 10.8px = 9.26个vh


   -->
    <div class="box">
      <div class="top">数据大屏</div>
      <div class="bottom">哈哈哈哈</div>
    </div>
</body>
</html>